package com.teamall.web.xtgl.db.dao.mapper;

import com.teamall.web.xtgl.db.arg.CodeFamilyMemberToImprArg;
import com.teamall.web.xtgl.db.po.CodeFamilyMemberToImprPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeFamilyMemberToImprMapper {
    
    List<Integer> countByArg(CodeFamilyMemberToImprArg arg);

    List<CodeFamilyMemberToImprPO> selectByArg(CodeFamilyMemberToImprArg arg);

    CodeFamilyMemberToImprPO selectByPrimaryKey(String id);

    List<CodeFamilyMemberToImprPO> selectByArgAndPage(CodeFamilyMemberToImprArg arg, RowBounds rowBound);

    int insert(CodeFamilyMemberToImprPO record);

    int insertSelective(CodeFamilyMemberToImprPO record);

    int insertBatch(@Param("list") List<CodeFamilyMemberToImprPO> records);

    int updateByArgSelective(@Param("record") CodeFamilyMemberToImprPO record,
            @Param("arg") CodeFamilyMemberToImprArg arg);

    int updateByArg(@Param("record") CodeFamilyMemberToImprPO record,
            @Param("arg") CodeFamilyMemberToImprArg arg);

    int updateByPrimaryKeySelective(CodeFamilyMemberToImprPO record);

    int updateByPrimaryKey(CodeFamilyMemberToImprPO record);
    
    int deleteByArg(CodeFamilyMemberToImprArg arg);
    
    int deleteByPrimaryKey(String id);
    
}